package com.enn.demo.client.dto;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * 角色DTO
 *
 * @author haoxin
 * @date 2021-02-18
 **/
public class RoleDTO implements Serializable {

    public RoleDTO() {
    }

    public RoleDTO(String id, String roleCode, String roleName, String remarks, List<String> permissionIdList) {
        this.id = id;
        this.roleCode = roleCode;
        this.roleName = roleName;
        this.remarks = remarks;
        this.permissionIdList = permissionIdList;
    }

    /**
     * id
     */
    private String id;

    /**
     * 角色编码
     */
    private String roleCode;

    /**
     * 角色名称
     */
    private String roleName;

    /**
     * 状态
     */
    private String status;

    /**
     * 备注
     */
    private String remarks;

    /**
     * 创建人
     */
    private String createdBy;

    /**
     * 创建时间
     */
    private Date createdTime;

    /**
     * 权限
     */
    private List<String> permissionIdList;

    public String getId() {
        return id;
    }

    public String getRoleCode() {
        return roleCode;
    }

    public String getRoleName() {
        return roleName;
    }

    public String getStatus() {
        return status;
    }

    public String getRemarks() {
        return remarks;
    }

    public String getCreatedBy() {
        return createdBy;
    }

    public Date getCreatedTime() {
        return createdTime;
    }

    public List<String> getPermissionIdList() {
        return permissionIdList;
    }

    public void setId(String id) {
        this.id = id;
    }

    public void setRoleCode(String roleCode) {
        this.roleCode = roleCode;
    }

    public void setRoleName(String roleName) {
        this.roleName = roleName;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }

    public void setCreatedBy(String createdBy) {
        this.createdBy = createdBy;
    }

    public void setCreatedTime(Date createdTime) {
        this.createdTime = createdTime;
    }

    public void setPermissionIdList(List<String> permissionIdList) {
        this.permissionIdList = permissionIdList;
    }
}
